package com.jbit.hxy;

import org.modelmapper.ModelMapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@MapperScan(basePackages = "com.jbit.hxy.mapper")
public class UserServiceApplication {
    public static void main(String[] args) {

        SpringApplication.run(UserServiceApplication.class,args);
    }


    @Bean(value = "modelMapper")
    public ModelMapper modelMapper(){
        return new ModelMapper();
    }
}
